package org.sith.taskrunner.gwt.client.view;

import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
import org.sith.taskrunner.gwt.shared.proxy.UserEntityProxy;

public interface IUserManageView {


    void setResultLabel(boolean isSuccess);

    void restoreView();

    public interface Presenter<T> {

        void onSaveButtonClicked();

        void onRemoveButtonClicked();

        void onCancelButtonClicked();
    }

    public Widget getViewWidget();

    public void setEditedObject(UserEntityProxy userEntityProxy);

    public UserEntityProxy getEditedObject();


}
